<template>
	<view>
		<scroll-view scroll-y="true" class="content" :enhanced="true" :bounces="false" :show-scrollbar="false">
			<view class="my">
				<u-parse :content="context"></u-parse>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	import {
		queryCustomerVipPageApp
	} from '@/api/index'
	export default {
		onLoad() {

		},
		onShow() {
			this.queryCustomerVipPageApp()
		},
		data() {
			return {
				loading: false,
				data: {},
				context: ""
			}
		},
		methods: {
			queryCustomerVipPageApp() {
				queryCustomerVipPageApp().then(res => {
					this.context = res.object.richText
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		//可视高度，需要在多大的盒子中进行滑动
		height: 100vh;
		width: 100%;
	}

	.my {
		min-height: 100vh;
		background-color: #f5f5f5;
		font-family: Source Han Sans CN, Source Han Sans CN-500;
		padding: 24rpx;
	}

	.center {
		display: flex;
		flex-direction: column;
		align-items: center;

		.center_box {
			width: 700rpx;
			height: 270rpx;
			padding: 26rpx 26rpx;
			box-sizing: border-box;
			border-radius: 12rpx;
			background: #ffffff;
			margin-top: 38rpx;

			.line {
				width: 12rpx;
				height: 36rpx;
				background: #38d19a;
				border-radius: 4rpx;
			}

			.hytq {
				font-size: 36rpx;
				font-weight: 500;
				color: #333333;
			}

			.zk {
				font-weight: 400;
				font-size: 32rpx;
				color: #666666;
			}

		}
	}

	.bottom {
		display: flex;
		flex-direction: column;
		align-items: center;

		.bottom_box {
			width: 700rpx;
			height: 900rpx;
			padding: 26rpx 26rpx;
			box-sizing: border-box;
			border-radius: 12rpx;
			background: #ffffff;
			margin-top: 38rpx;

			.line {
				width: 12rpx;
				height: 36rpx;
				background: #38d19a;
				border-radius: 4rpx;
			}

			.hytq {
				font-size: 36rpx;
				font-weight: 500;
				color: #333333;
			}

			.zk {
				font-weight: 400;
				font-size: 32rpx;
				color: #666666;
			}
		}
	}
</style>